<script type="text/javascript">
$(function(){
	$("#commentPostForm").submit(function(){
		jQuery.post("/Wyn/message/leave_mesage",
			$(this).serialize(),function(data){});
	});
});
</script>
<div id="content" class="main clearfix">
	<div class="main-home">
		<div class="talk-box">
			<h1 class="box-header">
				<span id="title_head">
					${Session.user.realName}的留言板
				</span>
			</h1>
			<div class="box-body">
				<div class="m-editor clearfix" id="miniEditor">
					<form id="commentPostForm">
						<div class="m-editor-textarea">
							<textarea id="cmtbody" name="messageBody" style="height: 70px;"></textarea>
						</div>
						<div class="m-editor-submit">
							<input type="submit" class="input-button" value=" 留言 " id="commentPostBtn">
						</div>
					</form>
				</div>
			</div>
		</div>
		<div id="talk" class="cmt-list">
			<#list mees as mee>
			<div class="comment ">
				<div class="actor-img">
					<a href="">
						<img src="/Wyn/album/loadImage?fileId=${mee.portrait}" width="50"/>
					</a>
				</div>
				<div class="cmt-body">
					<div class="info">
						<span class="author"><a title="点击查看个人主页" href="">${mee.realName}</a></span>
						<span class="time">${fmUtil.formatTime(mee.createTime)}</span>
						<div class="actions">
							<a class="reply" href="#" onclick="">回复</a>
							<#--
							<div class="super-actions">
								<a class="arrow" href="#nogo">&nbsp;</a>
							</div>
							-->
						</div>
					</div>
					<div class="text-content">
						${mee.content}
					</div>
				</div>
			</div>
			</#list>
		</div>
		<div id="comment_pager" class="pagerpro">
			<ul></ul>
		</div>
	</div>
	<!--main-sidebar end-->
</div>